//
//  ViewController.m
//  12-HomeWork_music
//
//  Created by dllo on 16/7/29.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *imageOfBack;
@property (weak, nonatomic) IBOutlet UIImageView *cycleBackImage;
//@property (weak, nonatomic) IBOutlet UIImageView *abImageOfBack;
//@property (weak, nonatomic) IBOutlet UIImageView *abCycleBackImage;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    // 设置xib的图片圆角
    self.cycleBackImage.layer.cornerRadius = [UIScreen mainScreen].bounds.size.height * 1.95 / 10;
    self.cycleBackImage.layer.masksToBounds = YES;
    self.imageOfBack.layer.cornerRadius = ([UIScreen mainScreen].bounds.size.height - 10) * 1.95 / 10;
    self.imageOfBack.layer.masksToBounds = YES;
    // 设置sb的圆角
//    self.abcycleBackImage.layer.cornerRadius = [UIScreen mainScreen].bounds.size.height * 1.95 / 10;
//    self.abcycleBackImage.layer.masksToBounds = YES;
//    self.abimageOfBack.layer.cornerRadius = ([UIScreen mainScreen].bounds.size.height - 10) * 1.95 / 10;
//    self.abimageOfBack.layer.masksToBounds = YES;

    

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
